package com.nettylearning.base.netty.io.bio.tomcat.servlet;

import com.nettylearning.base.netty.io.bio.tomcat.GPRequest;
import com.nettylearning.base.netty.io.bio.tomcat.GPResponse;
import com.nettylearning.base.netty.tomcat.http.GPServlet;

/**
 * @author vince
 * @date 2021/7/24 23:01
 * @description 创建用户业务代码
 * @Version 1.0
 */
public class FirstServlet extends GPServlet {

    @Override
    public void doGet(GPRequest request, GPResponse response) throws Exception {
        this.doPost(request, response);
    }

    @Override
    public void doPost(GPRequest request, GPResponse response) throws Exception {
        response.write("This is First Servlet");
    }
}
